bun build --compile --target=bun-windows-x64 ./index.ts --outfile ./out/myap-windows-x64


@REM # Note: the default architecture is x64 if no architecture is specified.
bun build --compile --target=bun-linux-x64 ./index.ts --outfile ./out/myapp-linux-x64

bun build --compile --target=bun-linux-arm64 ./index.ts --outfile ./out/myapp-linux-arm64


bun build --compile --target=bun-windows-x64 ./index.ts --outfile ./out/myapp-windows-x64

@REM # To support CPUs from before 2013, use the baseline version (nehalem)
bun build --compile --target=bun-windows-x64-baseline ./index.ts --outfile ./out/myapp-windows-x64-baseline

@REM # To explicitly only support CPUs from 2013 and later, use the modern version (haswell)
bun build --compile --target=bun-windows-x64-modern ./index.ts --outfile ./out/myapp-windows-x64-modern

@REM # note: if no .exe extension is provided, Bun will automatically add it for Windows executables


bun build --compile --target=bun-darwin-arm64 ./index.ts --outfile ./out/myapp-darwin-arm64


bun build --compile --target=bun-darwin-x64 ./index.ts --outfile ./out/myapp-darwin-x64
